package com.embracesource.monitor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.embracesource.monitor.dto.ServerDTO;
import com.embracesource.monitor.entity.Server;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 基础平台-服务器表 Mapper 接口
 * </p>
 *
 * @author Gnerv LiGen
 * @since 2019-09-03
 */
public interface ServerMapper extends BaseMapper<Server> {

    ServerDTO selectServer(@Param("ukId") String ukId);

    Page<ServerDTO> listServer(@Param("page") Page page, @Param("server") Server server);

}
